'use strict';
var rank_asc = function(collection){
  let result=[];
  result=collection.sort((a,b)=>b-a);
  console.log(result);
  return result;
};

rank_asc([3, 2, 4, 5, 6]);
module.exports = rank_asc;
